$config = @{
    easyUIDemoDirPath = "E:\demo_fromOffice\demo" ;
    };

function configDir ($dirPath)
{
    $name = $dirPath.Name;
    $paths = ls $dirPath | ?{$_.Extension -eq "html"} | %{$_.FullName}


}

Function isFolder ($path)
{
   return Test-Path $path -pathtype container ;
}

Function isFile ($path)
{
    return Test-Path $path -pathtype leaf ;
}


$pattern = "^<a.*>\w+\.html</a>" ;
$content = "<a href=.\demo\accordion\actions.html>actions.html</a>";

$content -match $pattern;


